/**
 * Created by stephone on 2014/6/17.
 */
var slider = $('.flexslider');
$(window).load(function(){

    slider.flexslider({
        animation: "slide",
        controlNav:false,
        //controlNav: "thumbnails",
        manualControls:"#myctrl",
        directionNav:false
    });

    slider.flexslider("stop");

});

function playprev(){
    slider.flexslider("prev");
}

function playnext(){
    slider.flexslider('next');
}